html,
body {
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
}

// 版心
.heart {
    width: 1200px;
    margin: 0 auto;
    
}

.header {
    height: 259px;
    background-color: #ffffff;
}

@mixin flex-box {
    display: flex;
    align-items: center;
}

@mixin span-font {
    display: block;
    font-size: 12px;
    height: 14px;
    line-height: 14px;
}

.header-top {
    height: 34px;
    background-color: #eeeeee;
    .webs {
        height: 34px;
        width: 291px;
        @include flex-box();
        float: left;
        .weixin {
            width: 87px;
            height: 34px;
            line-height: 34px;
            background: url(/images/t1.png) no-repeat 71px center;
            @include flex-box();
            cursor: pointer;
            span {
                @include span-font();
                color: #4f4f4f;
            }
        }
        .cutting-line {
            width: 1px;
            height: 12px;
            background-color: #d9d9d9;
        }
        .weibo {
            width: 101px;
            height: 34px;
            line-height: 34px;
            @include flex-box();
            cursor: pointer;
            img {
                margin-left: 8px;
                margin-right: 3px;
            }
            span {
                @include span-font();
                a {
                    color: #4f4f4f;
                }
                &:hover a{
                    color: #c5023a;
                }
            }
        }
        .twyuanzu {
            width: 101px;
            height: 34px;
            line-height: 34px;
            @include flex-box();
            cursor: pointer;
            img {
                margin-left: 8px;
                margin-right: 3px;
            }
            span {
                @include span-font();
                a {
                    color: #4f4f4f;
                }
                &:hover a{
                    color: #c5023a;
                }
            }
        }
    }
    .userbar {
        width: 415px;
        float: right;
        text-align: right;
        ul {
            @include flex-box();
            height: 34px;
            li {
                padding: 0px 12px;
                border-right: 2px solid #d9d9d9;
                font-size: 12px;
                height: 12px;
                line-height: 12px;
                a {
                    color: #4f4f4f;
                }
                &:nth-child(5) {
                    border: none;
                }
                &:nth-child(1) {
                    cursor: pointer;
                    span{
                        &:nth-child(2){
                            margin-left: 5px;
                            font-weight: 600;
                            &:hover{
                                color: #c5023a;
                            }
                        }
                    }
                }
                &:hover a{
                    color: #c5023a;
                }
            }
        }
    }
}

.header-banner {
    height: 90px;
    img {
        width: 1200px;
        height: 90px;
    }
}

.header-search {
    height: 95px;
    display: flex;
    .header-search-logo {
        margin: {
            left: 39px;
            right: 167px;
            top: 11px;
        }
        width: 157px;
        height: 69px;
        img {
            display: block;
            width: 157px;
            height: 69px;
        }
    }
    // 头部搜索条
    .header-search-center {
        width: 498px;
        margin-right: 77px;
        form {
            width: 498px;
            height: 36px;
            margin-top: 23px;
            position: relative;
            .txt {
                width: 410px;
                height: 30px;
                border: 3px solid #c5023a;
                border-right: none;
                float: left;
                padding-left: 15px;
                color: #999999;
            }
            .btn {
                width: 70px;
                height: 36px;
                line-height: 36px;
                background-color: #c5023a;
                float: left;
                font-size: 16px;
                text-align: center;
                color: #ffffff;
                cursor: pointer;
            }
            .search-ul{
                display: none;
                position: absolute;
                left: 0;
                top: 36px;
                width: 416px;
                height: 200px;
                background-color: #fff;
                z-index: 9999999;
                font-size: 14px;
                overflow: hidden;
                li{
                    font-size: 14px;
                    height: 20px;
                    line-height: 20px;
                    cursor: pointer;
                    color: rgb(78, 78, 78);
                    padding-left: 15px;
                    &:hover{
                        font-weight: 600;
                        color: rgb(233, 24, 24);
                        background-color: #e7e6e7;
                    }
                }
            }
        }
        .header-search-hot {
            display: flex;
            width: 498px;
            height: 30px;
            line-height: 30px;
            li {
                font-size: 12px;
                color: #aeaeae;
                margin-right: 8px;
                a {
                    color: #aeaeae;
                }
                &:hover a{
                    color: #474646;
                }
                &:nth-child(1) {
                    margin-right: 5px;
                }
                
            }
        }
    }
    .header-search-right {
        width: 254px;
    }
}

// 头部导航栏
.header-nav {
    height: 40px;
    display: flex;
    .menu {
        width: 225px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        background-color: #e9004f;
        position: relative;
        h3 {
            font-size: 15px;
            color: #ffffff;
        }
        .menu-nav{
            height: 0px;
            overflow: hidden;
            position: absolute;
            width: 225px;
            background-color: #ffffff;
            z-index: 7000;
            transition: height 0.5s;
            ul{
                li{ 
                    height: 65px;
                    padding-left: 35px;
                    text-align: left;
                    padding-top: 15px;
                    h6{
                        display: block;
                        font-size: 14px;
                        height: 19px;
                        line-height: 19px;
                        a{
                            color: rgb(124, 124, 124);
                            &:hover{
                                color:#c5023a;
                            }
                        }
                    }
                    span{
                        display: inline-block;
                        font-size: 12px;
                        a{
                            color: rgb(105, 104, 104);
                            &:hover{
                                color:#df1b53;
                            }
                        }
                    }
                    &:nth-child(2n-1){
                        background-color: #f1f1f1;
                    }
                }
            }
        }
        &:hover{
            .menu-nav{
                height: 400px;
            }
        }
    }
    .submenu {
        flex: 1;
        height: 38px;
        line-height: 38px;
        border-bottom: 2px solid #e9004f;
        li {
            float: left;
            width: 108px;
            text-align: center;
            a {
                color: #4f4f4f;
            }
            &:nth-child(2n) {
                width: 1px;
                height: 12px;
                background-color: #d9d9d9;
                margin-top: 14px;
            }
        }
    }
}

// header结束